package 阶乘求和3500;

public class Main {
	public static void main(String[] args) {
		long sum=202320232023L;
		long num=1L;
		long i=1L;
		while(num<=sum) {
			i*=num;
			num++;
		}
		long n=i%(long)Math.pow(10, 9);
		
		System.out.println(i);
	}
}
